package com.tongji.housediy.events.CantavilEvent
{
	import com.tongji.housediy.model.CantavilModel;
	
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author Barbiel
	 * 2011-
	 */
	public class GetCantavilResultEvent extends Event
	{
		public static const GET_CANTAVIL_BY_CANTAVIL_NAME:String = "getCantavilByCantavilName";
		public static const UPDATE_CANTAVIL_BY_CANTAVIL_NAME:String = "updateCantavilByCantavilName";
		
		public var cantavilName:String;
		public var cantavilModel:ArrayCollection;
		
		public function GetCantavilResultEvent(type:String, cantavilName:String = null, cantavilModel:ArrayCollection = null)
		{	
			super(type);
			this.cantavilName = cantavilName;
			this.cantavilModel = cantavilModel;
		}
		
		override public function clone():Event
		{
			return new GetCantavilResultEvent(type, cantavilName, cantavilModel);
		}
	}
}